 package server.maps;

 import client.MapleCharacter;

 public class MapleSlideMenu
 {
   public static Class<?> getSlideMenu(int id) {
/*   8 */     Class<?>[] slideMenus = new Class[] { SlideMenu0.class, SlideMenu1.class, SlideMenu2.class, SlideMenu3.class, SlideMenu4.class, SlideMenu5.class, SlideMenu6.class };


/*  11 */     return slideMenus[id];
   }

   public static class SlideMenu0
   {
     public static String getSelectionInfo(MapleCharacter player, Integer npc) {
/*  17 */       StringBuilder mapselect = new StringBuilder();
/*  18 */       for (DimensionalMirror mirror : DimensionalMirror.values()) {
/*  19 */         if (player.getLevel() >= mirror.getMinLevel() && player.getLevel() <= mirror.getMaxLevel() && mirror.isShow() && (
/*  20 */           player.getQuestStatus(mirror.getRequieredQuest()) >= mirror.getRequieredQuestState() || mirror.getRequieredQuest() == 0) && 
/*  21 */           mirror != DimensionalMirror.DEFAULT) {
/*  22 */           mapselect.append("#").append(mirror.getId()).append("#").append(mirror.getName());
         }
       }


/*  27 */       if (mapselect.length() == 0 || mapselect.toString().equals("")) {
/*  28 */         mapselect = new StringBuilder("#-1#没有可以通过次元之镜移动的地方。");
       }
/*  30 */       if (npc.intValue() == 9201231) {
/*  31 */         mapselect = new StringBuilder("#87# Crack in the Dimensional Mirror");
       }
/*  33 */       return mapselect.toString();
     }

     public static int[] getDataInteger(Integer id) {
/*  37 */       DimensionalMirror mirror = DimensionalMirror.getById(id.intValue());
/*  38 */       return new int[] { mirror.getMap(), mirror.getPortal() };
     }

     public enum DimensionalMirror {
/*  42 */       PQ0(0, "阿里安特竞技场", 682020000, 3, 20, 30, 0, 0, false),
/*  43 */       PQ1(1, "武陵道场", 925020000, 4, 120, 255, 0, 0, true),
/*  44 */       PQ2(2, "怪物嘉年华", 980000000, 4, 30, 50, 0, 0, false),
/*  45 */       PQ3(3, "怪物嘉年华", 980030000, 4, 50, 255, 0, 0, true),
/*  46 */       PQ4(4, "雾海", 923020000, 0, 120, 255, 0, 0, true),
/*  47 */       PQ5(5, "奈特的金字塔", 926010000, 4, 60, 109, 0, 0, true),
/*  48 */       PQ6(6, "废都广场", 910320000, 2, 25, 30, 0, 0, false),
/*  49 */       PQ7(7, "幸福村", 209000000, 0, 13, 255, 0, 0, false),
/*  50 */       PQ8(8, "黄金寺院2", 950100000, 9, 110, 255, 0, 0, false),
/*  51 */       PQ9(9, "10周年大赏纪念冒险岛公园", 706040000, 0, 30, 255, 0, 0, true),
/*  52 */       PQ10(10, "第一次同行", 910340700, 0, 50, 255, 0, 0, false),
/*  53 */       PQ11(11, "玩具城组队任务", 221023300, 2, 50, 255, 0, 0, false),
/*  54 */       PQ12(12, "毒雾深林", 300030100, 1, 70, 255, 0, 0, false),
/*  55 */       PQ13(13, "女神的痕迹", 200080101, 1, 70, 255, 0, 0, false),
/*  56 */       PQ14(14, "海盗船组队任务", 251010404, 2, 70, 255, 0, 0, false),
/*  57 */       PQ15(15, "罗密欧和朱丽叶", 261000021, 5, 70, 255, 0, 0, false),
/*  58 */       PQ16(16, "侏儒怪帝王的复活", 211000002, 0, 120, 255, 0, 0, false),
/*  59 */       PQ17(17, "御龙魔", 240080000, 2, 120, 255, 0, 0, false),
/*  60 */       PQ18(18, "活动地图", 0, 0, 10, 255, 0, 0, false),
/*  61 */       PQ19(19, "万圣节的树", 682000000, 0, 120, 255, 0, 0, false),
/*  62 */       PQ20(20, "活动地图2", 0, 0, 10, 255, 0, 0, false),
/*  63 */       PQ21(21, "陷入危险的坎特", 923040000, 0, 120, 255, 0, 0, false),
/*  64 */       PQ22(22, "逃脱", 921160000, 0, 120, 255, 0, 0, false),
/*  65 */       PQ23(23, "冰骑士的诅咒", 932000000, 0, 20, 255, 0, 0, false),
/*  66 */       PQ24(24, "活动地图3", 0, 0, 10, 255, 0, 0, false),
/*  67 */       PQ25(25, "冒险岛联盟会议场", 913050010, 0, 75, 255, 0, 0, true),
/*  68 */       PQ26(26, "万圣节的树2", 682000700, 0, 10, 255, 0, 0, false),
/*  69 */       PQ27(27, "阿斯旺解放战", 262010000, 0, 40, 255, 0, 0, true),
/*  70 */       PQ28(28, "黄金寺院", 950100000, 9, 105, 255, 0, 0, false),
/*  71 */       PQ29(29, "休彼得曼的画廊", 0, 0, 50, 120, 0, 0, false),
/*  72 */       PQ30(30, "大乱斗", 960000000, 0, 30, 255, 0, 0, true),
/*  73 */       PQ31(31, "古代神社", 800000000, 0, 10, 255, 0, 0, true),
/*  74 */       PQ32(32, "进化系统研究所", 957000000, 0, 105, 255, 1802, 1, true),
/*  75 */       PQ33(33, "次元入侵", 940020000, 0, 140, 255, 0, 0, true),
/*  76 */       PQ34(34, "休彼德蔓的客房(初级)", 910002000, 2, 50, 255, 0, 0, false),
/*  77 */       PQ35(35, "休彼德蔓的客房(中级)", 910002010, 2, 70, 255, 0, 0, false),
/*  78 */       PQ36(36, "休彼德蔓的客房(高级)", 910002020, 2, 10, 255, 0, 0, false),
/*  79 */       PQ37(37, "唐云", 0, 0, 70, 255, 0, 0, false),
/*  80 */       PQ38(38, "克林逊森林城堡", 301000000, 0, 130, 255, 0, 0, true),
/*  81 */       PQ39(39, "次元图书馆", 302000000, 0, 100, 125, 0, 0, true),
/*  82 */       PQ40(40, "组队任务综合入场", 910002000, 0, 50, 255, 0, 0, true),
/*  83 */       PQ41(41, "世界综合组队任务", 708001000, 0, 70, 255, 0, 0, true),
/*  84 */       PQ42(42, "鲁塔比斯", 105200000, 0, 125, 255, 0, 0, true),
/*  85 */       PQ43(43, "起源之塔", 992000000, 0, 100, 255, 0, 0, true),
/*  86 */       PQ44(44, "好友故事", 0, 0, 100, 255, 0, 0, false),
/*  87 */       PQ45(45, "怪物公园", 951000000, 0, 75, 255, 0, 0, true),
/*  88 */       PQ46(46, "鬼魂公园", 956100000, 0, 125, 255, 0, 0, true),
/*  89 */       PQ47(47, "霸王乌鲁斯", 970072200, 0, 100, 255, 0, 0, true),
/*  90 */       PQ48(48, "简单希纳斯", 0, 0, 100, 255, 0, 0, false),
/*  91 */       PQ200(200, "外星访客", 861000000, 0, 200, 255, 0, 0, true),
/*  92 */       PQ201(201, "变了的水下世界", 860000000, 6, 200, 255, 0, 0, true),
/*  93 */       PQ510(510, "维拉森特", 0, 0, 0, 255, 0, 0, false),
/*  94 */       PQ525(525, "未知1", 0, 0, 0, 255, 0, 0, false),
/*  95 */       PQ526(526, "未知2", 0, 0, 0, 255, 0, 0, false),
/*  96 */       PQ800(800, "西式婚礼", 680000000, 0, 0, 255, 0, 0, true),
/*  97 */       PQ801(801, "海外旅游", 950000000, 0, 0, 255, 0, 0, true),
/*  98 */       PQ802(802, "中式婚礼2", 700000000, 0, 0, 255, 0, 0, false),
/*  99 */       PQ803(803, "新叶城", 600000000, 0, 0, 255, 0, 0, true),
/* 100 */       PQ804(804, "中式婚礼", 700000000, 0, 0, 255, 0, 0, false),
/* 101 */       PQ805(805, "VIP休息室", 704000000, 0, 0, 255, 0, 0, false),
/* 102 */       PQ806(806, "未知4", 0, 0, 0, 255, 0, 0, false),
/* 103 */       PQ807(807, "天空庭院", 706020100, 0, 13, 255, 0, 0, true),
/* 104 */       PQ808(808, "未知6", 0, 0, 0, 255, 0, 0, false),
/* 105 */       PQ809(809, "光荣大厅", 710000000, 0, 0, 255, 0, 0, true),
/* 106 */       PQ810(810, "未知7", 0, 0, 0, 255, 0, 0, false),
/* 107 */       PQ811(811, "未知8", 0, 0, 0, 255, 0, 0, false),
/* 108 */       PQ812(812, "未知9", 0, 0, 0, 255, 0, 0, false),
/* 109 */       PQ813(813, "未知10", 0, 0, 0, 255, 0, 0, false),
/* 110 */       PQ814(814, "未知10", 0, 0, 0, 255, 0, 0, false),
/* 111 */       DEFAULT(2147483647, "Default Map", 999999999, 0, 0, 0, 0, 0, false);

       private final int id;
       private final int map;
       private final int minLevel;
       private final int maxLevel;
       private final int requieredQuest;
       private final int requieredQuestState;
       private final String name;
       private final boolean show;
       private final int portal;

       DimensionalMirror(int id, String name, int map, int portal, int minLevel, int maxLevel, int requieredQuest, int requieredQuestState, boolean show) {
/* 124 */         this.id = id;
/* 125 */         this.name = name;
/* 126 */         this.map = map;
/* 127 */         this.portal = portal;
/* 128 */         this.minLevel = minLevel;
/* 129 */         this.maxLevel = maxLevel;
/* 130 */         this.requieredQuest = requieredQuest;
/* 131 */         this.requieredQuestState = requieredQuestState;
/* 132 */         this.show = show; } public static DimensionalMirror getById(int id) {
         DimensionalMirror[] arrayOfDimensionalMirror;
         int i;
         byte b;
/* 136 */         for (arrayOfDimensionalMirror = values(), i = arrayOfDimensionalMirror.length, b = 0; b < i; ) { DimensionalMirror mirror = arrayOfDimensionalMirror[b];
/* 137 */           if (mirror.getId() != id) { b++; continue; }
/* 138 */            return mirror; }

/* 140 */         return DEFAULT;
       }

       public int getId() {
/* 144 */         return this.id;
       }

       public String getName() {
/* 148 */         return this.name;
       }

       public int getMap() {
/* 152 */         return this.map;
       }

       public int getMinLevel() {
/* 156 */         return this.minLevel;
       }

       public int getMaxLevel() {
/* 160 */         return this.maxLevel;
       }

       public int getRequieredQuest() {
/* 164 */         return this.requieredQuest;
       }

       public int getRequieredQuestState() {
/* 168 */         return this.requieredQuestState;
       }

       public boolean isShow() {
/* 172 */         return this.show;
       }

       public int getPortal() {
/* 176 */         return this.portal;
       }
     }
   }


   public static class SlideMenu1
   {
     public static String getSelectionInfo(MapleCharacter player, Integer npc) {
/* 185 */       String string = "";
/* 186 */       for (TimeGate gate : TimeGate.values()) {
/* 187 */         if (player.getQuestStatus(gate.getRequieredQuest()) == gate.getRequieredQuestState() || gate.getRequieredQuest() == 0)
         {
/* 189 */           string = string + "#" + gate.getId() + "#" + gate.getName(); } 
       }
/* 191 */       if (string.isEmpty()) {
/* 192 */         string = "#-1# There are no locations you can move to.";
       }
/* 194 */       return string;
     }

     public static int[] getDataInteger(Integer id) {
/* 198 */       TimeGate gate = TimeGate.kz(id.intValue());
/* 199 */       int[] arrn = new int[2];
/* 200 */       arrn[0] = (gate != null) ? gate.getMap() : TimeGate.YEAR_2099.getMap();
/* 201 */       arrn[1] = 0;
/* 202 */       return arrn;
     }

     public enum TimeGate {
/* 206 */       YEAR_2021(1, "Year 2021, Average Town", 0, 0, 0, 0),
/* 207 */       YEAR_2099(2, "Year 2099, Midnight Harbor", 0, 0, 0, 0),
/* 208 */       YEAR_2215(3, "Year 2215, Bombed City Center", 0, 0, 0, 0),
/* 209 */       YEAR_2216(4, "Year 2216, Ruined City", 0, 0, 0, 0),
/* 210 */       YEAR_2230(5, "Year 2230, Dangerous Tower", 0, 0, 0, 0),
/* 211 */       YEAR_2503(6, "Year 2503, Air Battleship Hermes", 0, 0, 0, 0);
       private final int id; private final int map; private final int portal;
       private final int requieredQuest;
       private final int requieredQuestState;
       private final String name;

/* 217 */       TimeGate(int id, String name, int map, int portal, int requieredQuest, int requieredQuestState) { this.id = id;
/* 218 */         this.name = name;
/* 219 */         this.map = map;
/* 220 */         this.requieredQuest = requieredQuest;
/* 221 */         this.requieredQuestState = requieredQuestState;
/* 222 */         this.portal = portal; } public static TimeGate kz(int n2) {
         TimeGate[] arrayOfTimeGate;
         int i;
         byte b;
/* 226 */         for (arrayOfTimeGate = values(), i = arrayOfTimeGate.length, b = 0; b < i; ) { TimeGate timeGate2 = arrayOfTimeGate[b];
/* 227 */           if (timeGate2.getId() != n2) { b++; continue; }
/* 228 */            return timeGate2; }

/* 230 */         return null;
       }

       public int getId() {
/* 234 */         return this.id;
       }

       public String getName() {
/* 238 */         return this.name;
       }

       public int getMap() {
/* 242 */         return this.map;
       }

       public int getPortal() {
/* 246 */         return this.portal;
       }

       public int getRequieredQuest() {
/* 250 */         return this.requieredQuest;
       }

       public int getRequieredQuestState() {
/* 254 */         return this.requieredQuestState;
       }
     }
   }

   public static class SlideMenu2
   {
     public static String getSelectionInfo(MapleCharacter player, Integer npc) {
/* 262 */       String string = "";
/* 263 */       for (a a2 : a.values()) {
/* 264 */         string = string + "#" + a2.getId() + "#" + a2.getName();
       }
/* 266 */       if ("".equals(string)) {
/* 267 */         string = "#-1# There are no locations you can move to.";
       }
/* 269 */       return string;
     }

     public static int[] getDataInteger(Integer n2) {
/* 273 */       a a2 = a.kA(n2.intValue());
/* 274 */       int[] arrn = new int[2];
/* 275 */       arrn[0] = (a2 != null) ? a2.jy() : -1;
/* 276 */       arrn[1] = (a2 != null) ? a2.jz() : -1;
/* 277 */       return arrn;
     }

     public enum a {
/* 281 */       bsV(0, "射手村", 100000000, 0),
/* 282 */       bsW(1, "魔法密林", 101000000, 0),
/* 283 */       bsX(2, "勇士部落", 102000000, 0),
/* 284 */       bsY(3, "废弃都市", 103000000, 0),
/* 285 */       bsZ(4, "明珠港", 104000000, 0),
/* 286 */       bta(5, "林中之城", 105000000, 0),
/* 287 */       btb(6, "诺特勒斯号", 120000100, 0),
/* 288 */       btc(7, "圣地", 130000000, 0),
/* 289 */       btd(8, "里恩", 140000000, 0),
/* 290 */       bte(9, "天空之城", 200000000, 0),
/* 291 */       btf(10, "冰封雪域", 211000000, 0),
/* 292 */       btg(11, "玩具城", 220000000, 0),
/* 293 */       bth(14, "水下世界", 230000000, 0),
/* 294 */       bti(15, "神木村", 240000000, 0),
/* 295 */       btj(16, "武陵", 250000000, 0),
/* 296 */       btk(17, "百草堂", 251000000, 0),
/* 297 */       btl(18, "阿里安特", 260000000, 0),
/* 298 */       btm(19, "玛加提亚", 261000000, 0),
/* 299 */       btn(20, "埃德尔斯坦", 310000000, 0);

       private final int id;
       private final int bsJ;
       private final int bsM;
       private final String name;

       a(int n3, String string2, int n4, int n5) {
/* 307 */         this.id = n3;
/* 308 */         this.name = string2;
/* 309 */         this.bsJ = n4;
/* 310 */         this.bsM = n5; } public static a kA(int n2) {
         a[] arrayOfA;
         int i;
         byte b;
/* 314 */         for (arrayOfA = values(), i = arrayOfA.length, b = 0; b < i; ) { a a2 = arrayOfA[b];
/* 315 */           if (a2.getId() != n2) { b++; continue; }
/* 316 */            return a2; }

/* 318 */         return null;
       }

       public int getId() {
/* 322 */         return this.id;
       }

       public String getName() {
/* 326 */         return this.name;
       }

       public int jy() {
/* 330 */         return this.bsJ;
       }

       public int jz() {
/* 334 */         return this.bsM;
       }
     }
   }

   public static class SlideMenu3
   {
     public static String getSelectionInfo(MapleCharacter player, Integer npc) {
/* 342 */       String string = "";
/* 343 */       for (a a2 : a.values()) {
/* 344 */         string = string + "#" + a2.getId() + "#" + a2.getName();
       }
/* 346 */       if ("".equals(string)) {
/* 347 */         string = "#-1# There are no locations you can move to.";
       }
/* 349 */       return string;
     }

     public static int[] getDataInteger(Integer n2) {
/* 353 */       a a2 = a.kB(n2.intValue());
/* 354 */       int[] arrn = new int[2];
/* 355 */       arrn[0] = (a2 != null) ? a2.jy() : -1;
/* 356 */       arrn[1] = (a2 != null) ? a2.jz() : -1;
/* 357 */       return arrn;
     }

     public enum a {
/* 361 */       btp(0, "射手村", 100000000, 0),
/* 362 */       btq(1, "魔法密林", 101000000, 0),
/* 363 */       btr(2, "勇士部落", 102000000, 0),
/* 364 */       bts(3, "废弃都市", 103000000, 0),
/* 365 */       btt(4, "明珠港", 104000000, 0),
/* 366 */       btu(5, "林中之城", 105000000, 0),
/* 367 */       btv(6, "诺特勒斯号", 120000100, 0),
/* 368 */       btw(7, "圣地", 130000000, 0),
/* 369 */       btx(8, "里恩", 140000000, 0),
/* 370 */       bty(9, "天空之城", 200000000, 0),
/* 371 */       btz(10, "冰封雪域", 211000000, 0),
/* 372 */       btA(11, "玩具城", 220000000, 0),
/* 373 */       btB(14, "水下世界", 230000000, 0),
/* 374 */       btC(15, "神木村", 240000000, 0),
/* 375 */       btD(16, "武陵", 250000000, 0),
/* 376 */       btE(17, "百草堂", 251000000, 0),
/* 377 */       btF(18, "阿里安特", 260000000, 0),
/* 378 */       btG(19, "玛加提亚", 261000000, 0),
/* 379 */       btH(20, "埃德尔斯坦", 310000000, 0),
/* 380 */       btI(21, "埃欧雷", 101050000, 0),
/* 381 */       btJ(22, "万神殿", 400000000, 0);

       private final int id;
       private final int bsJ;
       private final int bsM;
       private final String name;

       a(int n3, String string2, int n4, int n5) {
/* 389 */         this.id = n3;
/* 390 */         this.name = string2;
/* 391 */         this.bsJ = n4;
/* 392 */         this.bsM = n5; } public static a kB(int n2) {
         a[] arrayOfA;
         int i;
         byte b;
/* 396 */         for (arrayOfA = values(), i = arrayOfA.length, b = 0; b < i; ) { a a2 = arrayOfA[b];
/* 397 */           if (a2.getId() != n2) { b++; continue; }
/* 398 */            return a2; }

/* 400 */         return null;
       }

       public int getId() {
/* 404 */         return this.id;
       }

       public String getName() {
/* 408 */         return this.name;
       }

       public int jy() {
/* 412 */         return this.bsJ;
       }

       public int jz() {
/* 416 */         return this.bsM;
       }
     }
   }

   public static class SlideMenu4
   {
     public static String getSelectionInfo(MapleCharacter player, Integer npc) {
/* 424 */       String buffselect = "";
/* 425 */       for (BuffMenu buff : BuffMenu.values()) {
/* 426 */         buffselect = buffselect + "#" + buff.getId() + "# " + buff.getName();
       }
/* 428 */       return buffselect;
     }

     public static int[] getDataInteger(Integer n2) {
/* 432 */       BuffMenu buff = BuffMenu.getById(n2.intValue());
/* 433 */       int[] arrn = new int[2];
/* 434 */       arrn[0] = (buff != null) ? buff.jD() : BuffMenu.BUFF0.jD();
/* 435 */       arrn[1] = 0;
/* 436 */       return arrn;
     }

     public enum BuffMenu {
/* 440 */       BUFF0(0, "Recover 50% HP", 2022855),
/* 441 */       BUFF1(1, "Recover 100% HP", 2022856),
/* 442 */       BUFF2(2, "MaxHP + 10000 (Duration: 10 min)", 2022857),
/* 443 */       BUFF3(3, "Weapon/Magic ATT + 30 (Duration: 10 min)", 2022858),
/* 444 */       BUFF4(4, "Weapon/Magic ATT + 60 (Duration: 10 min)", 2022859),
/* 445 */       BUFF5(5, "Weapon/Magic DEF + 2500 (Duration: 10 min)", 2022860),
/* 446 */       BUFF6(6, "Weapon/Magic DEF + 4000 (Duration: 10 min)", 2022861),
/* 447 */       BUFF7(7, "Accuracy/Avoidability + 2000 (Duration: 10 min)", 2022862),
/* 448 */       BUFF8(8, "Speed/Jump MAX (Duration: 10 min)", 2022863),
/* 449 */       BUFF9(9, "Attack Speed + 1 (Duration: 10 min)", 2022864);
       private final int id;
       private final int buff;
       private final String name;

       BuffMenu(int id, String name, int buff) {
/* 455 */         this.id = id;
/* 456 */         this.name = name;
/* 457 */         this.buff = buff; } public static BuffMenu getById(int n2) {
         BuffMenu[] arrayOfBuffMenu;
         int i;
         byte b;
/* 461 */         for (arrayOfBuffMenu = values(), i = arrayOfBuffMenu.length, b = 0; b < i; ) { BuffMenu buff = arrayOfBuffMenu[b];
/* 462 */           if (buff.getId() != n2) { b++; continue; }
/* 463 */            return buff; }

/* 465 */         return null;
       }

       public int getId() {
/* 469 */         return this.id;
       }

       public String getName() {
/* 473 */         return this.name;
       }

       public int jD() {
/* 477 */         return this.buff;
       }
     }
   }

   public static class SlideMenu5
   {
     public static String getSelectionInfo(MapleCharacter player, Integer npc) {
/* 485 */       String string = "";
/* 486 */       for (TownTeleport townTeleport2 : TownTeleport.values()) {
/* 487 */         string = string + "#" + townTeleport2.getId() + "#" + townTeleport2.getName();
       }
/* 489 */       if ("".equals(string)) {
/* 490 */         string = "#-1# There are no locations you can move to.";
       }
/* 492 */       return string;
     }

     public static int[] getDataInteger(Integer id) {
/* 496 */       TownTeleport teleport = TownTeleport.kD(id.intValue());
/* 497 */       int[] arrn = new int[2];
/* 498 */       arrn[0] = (teleport != null) ? teleport.getMap() : -1;
/* 499 */       arrn[1] = (teleport != null) ? teleport.getPortal() : -1;
/* 500 */       return arrn;
     }

     public enum TownTeleport {
/* 504 */       btX(0, "六岔路口", 104020000, 2),
/* 505 */       btY(1, "射手村", 100000000, 0),
/* 506 */       btZ(2, "魔法密林", 101000000, 0),
/* 507 */       bua(3, "勇士部落", 102000000, 0),
/* 508 */       bub(4, "废弃都市", 103000000, 0),
/* 509 */       buc(5, "明珠港", 104000000, 0),
/* 510 */       bud(6, "林中之城", 105000000, 0),
/* 511 */       bue(7, "诺特勒斯号", 120000100, 0),
/* 512 */       buf(8, "圣地", 130000000, 0),
/* 513 */       bug(9, "里恩", 140000000, 0),
/* 514 */       buh(10, "天空之城", 200000000, 0),
/* 515 */       bui(11, "冰封雪域", 211000000, 0),
/* 516 */       buj(12, "玩具城", 220000000, 0),
/* 517 */       buk(15, "水下世界", 230000000, 0),
/* 518 */       bul(16, "神木村", 240000000, 0),
/* 519 */       bum(17, "武陵", 250000000, 0),
/* 520 */       bun(18, "百草堂", 251000000, 0),
/* 521 */       buo(19, "阿里安特", 260000000, 0),
/* 522 */       bup(20, "玛加提亚", 261000000, 0),
/* 523 */       buq(21, "埃德尔斯坦", 310000000, 0),
/* 524 */       bur(22, "埃欧雷", 101050000, 0),
/* 525 */       bus(24, "万神殿", 400000000, 0);
       private final int id;
       private final int map;
       private final int portal;
       private final String name;

/* 531 */       TownTeleport(int id, String name, int map, int portal) { this.id = id;
/* 532 */         this.name = name;
/* 533 */         this.map = map;
/* 534 */         this.portal = portal; } public static TownTeleport kD(int n2) {
         TownTeleport[] arrayOfTownTeleport;
         int i;
         byte b;
/* 538 */         for (arrayOfTownTeleport = values(), i = arrayOfTownTeleport.length, b = 0; b < i; ) { TownTeleport townTeleport2 = arrayOfTownTeleport[b];
/* 539 */           if (townTeleport2.getId() != n2) { b++; continue; }
/* 540 */            return townTeleport2; }

/* 542 */         return null;
       }

       public int getId() {
/* 546 */         return this.id;
       }

       public String getName() {
/* 550 */         return this.name;
       }

       public int getMap() {
/* 554 */         return this.map;
       }

       public int getPortal() {
/* 558 */         return this.portal;
       }
     }
   }

   public static class SlideMenu6
   {
     public static String getSelectionInfo(MapleCharacter player, Integer npc) {
/* 566 */       String string = "";
/* 567 */       for (a a2 : a.values()) {
/* 568 */         string = string + "#" + a2.getId() + "#" + a2.getName();
       }
/* 570 */       if ("".equals(string)) {
/* 571 */         string = "#-1# There are no locations you can move to.";
       }
/* 573 */       return string;
     }

     public static int[] getDataInteger(Integer n2) {
/* 577 */       a a2 = a.kE(n2.intValue());
/* 578 */       int[] arrn = new int[2];
/* 579 */       arrn[0] = (a2 != null) ? a2.jy() : -1;
/* 580 */       arrn[1] = (a2 != null) ? a2.jz() : -1;
/* 581 */       return arrn;
     }

     public enum a {
/* 585 */       buu(0, "射手村", 100000000, 0),
/* 586 */       buv(1, "魔法密林", 101000000, 0),
/* 587 */       buw(2, "勇士部落", 102000000, 0),
/* 588 */       bux(3, "废弃都市", 103000000, 0),
/* 589 */       buy(4, "明珠港", 104000000, 0),
/* 590 */       buz(5, "林中之城", 105000000, 0),
/* 591 */       buA(6, "诺特勒斯号", 120000100, 0),
/* 592 */       buB(7, "圣地", 130000000, 0),
/* 593 */       buC(8, "里恩", 140000000, 0),
/* 594 */       buD(9, "天空之城", 200000000, 0),
/* 595 */       buE(10, "冰封雪域", 211000000, 0),
/* 596 */       buF(11, "玩具城", 220000000, 0),
/* 597 */       buG(14, "水下世界", 230000000, 17),
/* 598 */       buH(15, "神木村", 240000000, 0),
/* 599 */       buI(16, "武陵", 250000000, 0),
/* 600 */       buJ(17, "百草堂", 251000000, 0),
/* 601 */       buK(18, "阿里安特", 260000000, 0),
/* 602 */       buL(19, "玛加提亚", 261000000, 0),
/* 603 */       buM(20, "埃德尔斯坦", 310000000, 0),
/* 604 */       buN(21, "埃欧雷", 101050000, 0),
/* 605 */       buO(22, "万神殿", 400000000, 0);

       private final int id;
       private final int bsJ;
       private final int bsM;
       private final String name;

       a(int n3, String string2, int n4, int n5) {
/* 613 */         this.id = n3;
/* 614 */         this.name = string2;
/* 615 */         this.bsJ = n4;
/* 616 */         this.bsM = n5; } public static a kE(int n2) {
         a[] arrayOfA;
         int i;
         byte b;
/* 620 */         for (arrayOfA = values(), i = arrayOfA.length, b = 0; b < i; ) { a a2 = arrayOfA[b];
/* 621 */           if (a2.getId() != n2) { b++; continue; }
/* 622 */            return a2; }

/* 624 */         return null;
       }

       public int getId() {
/* 628 */         return this.id;
       }

       public String getName() {
/* 632 */         return this.name;
       }

       public int jy() {
/* 636 */         return this.bsJ;
       }

       public int jz() {
/* 640 */         return this.bsM;
       }
     }
   }
 }


/* Location:              C:\PGX\Server.jar!\server\maps\MapleSlideMenu.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */